Public Class PositionMaintenanceReport
Inherits Message

'Component: Header
Private m_Header As Header

<FieldInfo(GetType(Header), 0)> _
Public Property Header() As Header
Get
Return m_Header
End Get
Set (value As Header)
m_Header = value
End Set
End Property



Private m_PosMaintRptID As String

<FieldInfo(GetType(PosMaintRptIDFieldInfo), 1)> _
Public Property PosMaintRptID() As String
Get
Return m_PosMaintRptID
End Get
Set (value As String)
m_PosMaintRptID = value
End Set
End Property

Private m_PosTransType As PosTransType

<FieldInfo(GetType(PosTransTypeFieldInfo), 2)> _
Public Property PosTransType() As PosTransType
Get
Return m_PosTransType
End Get
Set (value As PosTransType)
m_PosTransType = value
End Set
End Property

Private m_PosReqID As String

<FieldInfo(GetType(PosReqIDFieldInfo), 3)> _
Public Property PosReqID() As String
Get
Return m_PosReqID
End Get
Set (value As String)
m_PosReqID = value
End Set
End Property

Private m_PosMaintAction As PosMaintAction

<FieldInfo(GetType(PosMaintActionFieldInfo), 4)> _
Public Property PosMaintAction() As PosMaintAction
Get
Return m_PosMaintAction
End Get
Set (value As PosMaintAction)
m_PosMaintAction = value
End Set
End Property

Private m_OrigPosReqRefID As String

<FieldInfo(GetType(OrigPosReqRefIDFieldInfo), 5)> _
Public Property OrigPosReqRefID() As String
Get
Return m_OrigPosReqRefID
End Get
Set (value As String)
m_OrigPosReqRefID = value
End Set
End Property

Private m_PosMaintStatus As PosMaintStatus

<FieldInfo(GetType(PosMaintStatusFieldInfo), 6)> _
Public Property PosMaintStatus() As PosMaintStatus
Get
Return m_PosMaintStatus
End Get
Set (value As PosMaintStatus)
m_PosMaintStatus = value
End Set
End Property

Private m_PosMaintResult As PosMaintResult

<FieldInfo(GetType(PosMaintResultFieldInfo), 7)> _
Public Property PosMaintResult() As PosMaintResult
Get
Return m_PosMaintResult
End Get
Set (value As PosMaintResult)
m_PosMaintResult = value
End Set
End Property

Private m_ClearingBusinessDate As DateTime

<FieldInfo(GetType(ClearingBusinessDateFieldInfo), 8)> _
Public Property ClearingBusinessDate() As DateTime
Get
Return m_ClearingBusinessDate
End Get
Set (value As DateTime)
m_ClearingBusinessDate = value
End Set
End Property

Private m_SettlSessID As String

<FieldInfo(GetType(SettlSessIDFieldInfo), 9)> _
Public Property SettlSessID() As String
Get
Return m_SettlSessID
End Get
Set (value As String)
m_SettlSessID = value
End Set
End Property

Private m_SettlSessSubID As String

<FieldInfo(GetType(SettlSessSubIDFieldInfo), 10)> _
Public Property SettlSessSubID() As String
Get
Return m_SettlSessSubID
End Get
Set (value As String)
m_SettlSessSubID = value
End Set
End Property

'Component: Parties
Private m_Parties As Parties

<FieldInfo(GetType(Parties), 11)> _
Public Property Parties() As Parties
Get
Return m_Parties
End Get
Set (value As Parties)
m_Parties = value
End Set
End Property

Private m_Account As String

<FieldInfo(GetType(AccountFieldInfo), 12)> _
Public Property Account() As String
Get
Return m_Account
End Get
Set (value As String)
m_Account = value
End Set
End Property

Private m_AcctIDSource As AcctIDSource

<FieldInfo(GetType(AcctIDSourceFieldInfo), 13)> _
Public Property AcctIDSource() As AcctIDSource
Get
Return m_AcctIDSource
End Get
Set (value As AcctIDSource)
m_AcctIDSource = value
End Set
End Property

Private m_AccountType As AccountType

<FieldInfo(GetType(AccountTypeFieldInfo), 14)> _
Public Property AccountType() As AccountType
Get
Return m_AccountType
End Get
Set (value As AccountType)
m_AccountType = value
End Set
End Property

'Component: Instrument
Private m_Instrument As Instrument

<FieldInfo(GetType(Instrument), 15)> _
Public Property Instrument() As Instrument
Get
Return m_Instrument
End Get
Set (value As Instrument)
m_Instrument = value
End Set
End Property

Private m_Currency As String

<FieldInfo(GetType(CurrencyFieldInfo), 16)> _
Public Property Currency() As String
Get
Return m_Currency
End Get
Set (value As String)
m_Currency = value
End Set
End Property

'Group: NoLegs
Private m_NoLegs As New List(Of NoLegsGroup)

<FieldInfo(GetType(NoLegsGroup), 17)> _
Public ReadOnly Property NoLegs As List(Of NoLegsGroup)
Get
Return m_NoLegs
End Get
End Property

Public Class NoLegsGroup
Inherits Group

'Component: InstrumentLeg
Private m_InstrumentLeg As InstrumentLeg

<FieldInfo(GetType(InstrumentLeg), 0)> _
Public Property InstrumentLeg() As InstrumentLeg
Get
Return m_InstrumentLeg
End Get
Set (value As InstrumentLeg)
m_InstrumentLeg = value
End Set
End Property


End Class



'Group: NoUnderlyings
Private m_NoUnderlyings As New List(Of NoUnderlyingsGroup)

<FieldInfo(GetType(NoUnderlyingsGroup), 18)> _
Public ReadOnly Property NoUnderlyings As List(Of NoUnderlyingsGroup)
Get
Return m_NoUnderlyings
End Get
End Property

Public Class NoUnderlyingsGroup
Inherits Group

'Component: UnderlyingInstrument
Private m_UnderlyingInstrument As UnderlyingInstrument

<FieldInfo(GetType(UnderlyingInstrument), 0)> _
Public Property UnderlyingInstrument() As UnderlyingInstrument
Get
Return m_UnderlyingInstrument
End Get
Set (value As UnderlyingInstrument)
m_UnderlyingInstrument = value
End Set
End Property


End Class



'Group: NoTradingSessions
Private m_NoTradingSessions As New List(Of NoTradingSessionsGroup)

<FieldInfo(GetType(NoTradingSessionsGroup), 19)> _
Public ReadOnly Property NoTradingSessions As List(Of NoTradingSessionsGroup)
Get
Return m_NoTradingSessions
End Get
End Property

Public Class NoTradingSessionsGroup
Inherits Group

Private m_TradingSessionID As String

<FieldInfo(GetType(TradingSessionIDFieldInfo), 0)> _
Public Property TradingSessionID() As String
Get
Return m_TradingSessionID
End Get
Set (value As String)
m_TradingSessionID = value
End Set
End Property

Private m_TradingSessionSubID As String

<FieldInfo(GetType(TradingSessionSubIDFieldInfo), 1)> _
Public Property TradingSessionSubID() As String
Get
Return m_TradingSessionSubID
End Get
Set (value As String)
m_TradingSessionSubID = value
End Set
End Property


End Class



Private m_TransactTime As DateTimeOffset

<FieldInfo(GetType(TransactTimeFieldInfo), 20)> _
Public Property TransactTime() As DateTimeOffset
Get
Return m_TransactTime
End Get
Set (value As DateTimeOffset)
m_TransactTime = value
End Set
End Property

'Component: PositionQty
Private m_PositionQty As PositionQty

<FieldInfo(GetType(PositionQty), 21)> _
Public Property PositionQty() As PositionQty
Get
Return m_PositionQty
End Get
Set (value As PositionQty)
m_PositionQty = value
End Set
End Property

'Component: PositionAmountData
Private m_PositionAmountData As PositionAmountData

<FieldInfo(GetType(PositionAmountData), 22)> _
Public Property PositionAmountData() As PositionAmountData
Get
Return m_PositionAmountData
End Get
Set (value As PositionAmountData)
m_PositionAmountData = value
End Set
End Property

Private m_AdjustmentType As AdjustmentType

<FieldInfo(GetType(AdjustmentTypeFieldInfo), 23)> _
Public Property AdjustmentType() As AdjustmentType
Get
Return m_AdjustmentType
End Get
Set (value As AdjustmentType)
m_AdjustmentType = value
End Set
End Property

Private m_ThresholdAmount As Decimal

<FieldInfo(GetType(ThresholdAmountFieldInfo), 24)> _
Public Property ThresholdAmount() As Decimal
Get
Return m_ThresholdAmount
End Get
Set (value As Decimal)
m_ThresholdAmount = value
End Set
End Property

Private m_Text As String

<FieldInfo(GetType(TextFieldInfo), 25)> _
Public Property Text() As String
Get
Return m_Text
End Get
Set (value As String)
m_Text = value
End Set
End Property

Private m_EncodedTextLen As Int32

<FieldInfo(GetType(EncodedTextLenFieldInfo), 26)> _
Public Property EncodedTextLen() As Int32
Get
Return m_EncodedTextLen
End Get
Set (value As Int32)
m_EncodedTextLen = value
End Set
End Property

Private m_EncodedText As Byte()

<FieldInfo(GetType(EncodedTextFieldInfo), 27)> _
Public Property EncodedText() As Byte()
Get
Return m_EncodedText
End Get
Set (value As Byte())
m_EncodedText = value
End Set
End Property


'Component: Trailer
Private m_Trailer As Trailer

<FieldInfo(GetType(Trailer), 28)> _
Public Property Trailer() As Trailer
Get
Return m_Trailer
End Get
Set (value As Trailer)
m_Trailer = value
End Set
End Property


End Class

